﻿using System.Runtime.Serialization;

namespace Ioacp.Hanvon
{
    [DataContract]
    public class Reply22
    {
        [DataMember]
        public Parma22 PARAM;

        [DataMember]
        public string RETURN;

        public Reply22(Parma22 PARAM, string RETURN)
        {
            this.PARAM = PARAM;
            this.RETURN = RETURN;
        }
    }

    [DataContract]
    public class Parma22
    {
        [DataMember]
        public string reason;

        [DataMember]
        public string result;

        [DataMember]
        public string sn;

        [DataMember]
        public string id;

        public Parma22(string reason, string result, string sn, string id)
        {
            this.reason = reason;
            this.result = result;
            this.sn = sn;
            this.id = id;
        }
    }
}